reactjs sass setup

60

reactjs sass setup -

// step 1: install node-sass
// using npm
npm install node-sass --save
// using yarn
yarn add node-sass

// step 2: Convert your .css files to .scss

// step 3: add in your app.js
import './App.scss';

add sass to react -

npm install node-sass --save-dev

Comments

Submit
0 Comments